home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr27 / setptr22.zip / SETPTR.DOC < prev    next >
Text File  |  1993-05-26  |  4KB  |  92 lines

  1. The  SETPTR  program  is a simple program for controlling  settable  printers.
  2.  
  3. The  SETPTR  program takes arguments on its command line, and  sends  specific
  4. control codes to LPT1: to set the printer. It takes the form:
  5.  
  6.          SETPTR /12/SMRGN/CORR
  7.  
  8. where "/" is a delimiter between parameters. The exact set of legal parameters
  9. is  given  in a HELP screen within each SETPTR program. In the above  example,
  10. the  printer attached to LPT1: is first set to 12 characters per inch (elite),
  11. then  a  one-inch  left  margin  is  set,  then  the  printer  is  put  in  to
  12. correspondence mode.
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25. There are a few particular items of interest.   Unknown parameters (as when  I
  26. might type "/VORR" instead of "/CORR"), are  displayed as unknown.  No  action
  27. is taken with respect to the  unknown parameter, but  any other parameters  in
  28. the line are acted  on.   Parameters are  acted upon  in the  order that  they
  29. appear on the command line.  This is  important, because if  you end the  line
  30. with a RESET command, anything on the first  part of the line gets  cancelled.
  31.  
  32. The very first character after  the SETPTR  name (not counting  the space)  is
  33. taken as the delimiter for the rest of  the line.  Accordingly, the  following
  34. lines are all equivalent:
  35.  
  36.         SETPTR /12/SMRGN/CORR
  37.         SETPTR @12@SMRGN@CORR
  38.         SETPTR Z12ZSMRGNZCORR
  39.  
  40. If the SETPTR command is typed  with no  parameters on the  command line,  the
  41. target printer type and version number are displayed.
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48. The programs are distributed with file  names of SETPTRx.COM,  where "x" is  a
  49. two-character code to distinguish the target  printer.  A  list of which  ones
  50. are which follows:
  51.  
  52.    SETPTR01.COM  - Epson RX-80        SETPTR07.COM  - HP LaserJet II
  53.    SETPTR02.COM  - Epson LQ 800       SETPTR08.COM  - Epson MX-80
  54.    SETPTR03.COM  - IBM Graphics       SETPTR09.COM  - Dynax DX-15
  55.    SETPTR04.COM  - Citizen MSP-10
  56.    SETPTR05.COM  - Okidata w/out Plug N' Play
  57.    SETPTR06.COM  - Okidata with Plug N' Play
  58.  
  59.  
  60. To  install  one of the programs using the supplied batch command files,  type
  61. INSTALL  with this disk in the default drive. You can also rename the  program
  62. directly  to  any other name that you wish. The batch files will rename it  to
  63. SETPTR.
  64.  
  65. Whenever  you  need  help  remembering which  parameters  are  available,  the
  66. parameter  /HELP  will  display the help screen associated with that  copy  of
  67. SETPTR, i.e.:
  68.  
  69.               SETPTR /HELP
  70.  
  71. I hope you find these programs useful.  Please copy and distribute them freely
  72. among your friends and enemies.   All that we  ask is that  the ENTIRE set  of
  73. files be distributed, without modification (No fair erasing MY address  below,
  74. and substituting yours!).    If you  do  find  the  SETPTR  program  useful, a
  75. contribution of $5.00 to:
  76.    +---------------------+
  77.    | Laminar Process     |      Contacts:   MCI Mail: 201-6274 (evogt)
  78.    | P. O. Box 307       |                      Arpa: efv@mbunix.mitre.org
  79.    | Lexington, MA 02173 |                  EasyLink: 62930778
  80.    +---------------------+
  81. would be appreciated.
  82.  
  83. ATTENTION PEOPLE WITH UNSUPPORTED PRINTERS:
  84. If  you would like a SETPTR for a printer not currently supported, send a copy
  85. of the control codes along with $10.00 to the above address.
  86.  
  87. ATTENTION OEMS AND VARS:
  88. If you would like a custom message where the "No Command Line" message appears
  89. for  OEM  or other reasons, send $25.00 along with the text of the message  to
  90. the above address.
  91.                                        SETPTR 2.2     15 January 1990
  92.